#!/bin/bash

# Setup the needed environment
export LD_LIBRARY_PATH=@MY_LD_LIBRARY_PATH@:$LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH=@MY_LD_LIBRARY_PATH@:$DYLD_LIBRARY_PATH
export PATH=@SIMPATH@/bin:$PATH:@Geant4_DIR@
export ROOTEXE=@ROOT_EXECUTABLE@
export ROOT_INCLUDE_PATH="@Geant3_INCLUDE_DIRS@:@MY_ROOT_INCLUDE_PATH@"
export VMCWORKDIR=@VMCWORKDIR@
export Geant4VMC_MACRO_DIR=@Geant4VMC_MACRO_DIR@
export USE_VGM=1
export BOOST=@Boost_Avail@

@Geant4Data_Variables_sh@

export G3SYS="@Geant3_SYSTEM_DIR@"
export PYTHIA8DATA="@PYTHIA8DATA@"
if [ -e @Geant4_DIR@/env.sh ]; then
  . @Geant4_DIR@/env.sh
fi

cd @new_path@

source  @my_script_name@
